import torch

x = torch.arange(0,200).reshape(10,20).contiguous()
print(x[0,0])
print(x[0,-1])
print(x[2,:])
print(x[0,1:9:3])